import request from '@/utils/request'

export function list(params) {
  return request({
    url: '/admin/real/list',
    method: 'get',
    params
  })
}
export function find(data) {
  return request({
    url: 'admin/real/find',
    method: 'get',
    data
  })
}
export function add(data) {
  return request({
    url: 'admin/real/add',
    method: 'post',
    data
  })
}

export function del(ids) {
  return request({
    url: 'admin/real/delete',
    method: 'post',
    data: ids
  })
}

export function edit(data) {
  return request({
    url: 'admin/real/update',
    method: 'post',
    data
  })
}

export function audit(data) {
  return request({
    url: 'admin/real/audit',
    method: 'post',
    data
  })
}
export default { list, find, add, edit, del, audit }

